#include "myvideo.h"
#include "ui_myvideo.h"

MyVideo::MyVideo(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::MyVideo)
{
    ui->setupUi(this);
}

MyVideo::~MyVideo()
{
    delete ui;
}

void MyVideo::paintEvent(QPaintEvent *event)
{
    QPainter painter(this);
    QPixmap map(":/new/prefix1/res/1.JPG");
    painter.drawPixmap(0,0,this->width(),this->height(),map);
}
